﻿using System;

namespace MvcForum.Net.Business
{
    public class TopicEntity
    {
        public int ForumId { get; set; }
        public string ForumName { get; set; }
        public int TopicId { get; set; }
        public string TopicName { get; set; }
        public string Description { get; set; }
        public int UserId { get; set; }
        public string UserName { get; set; }

        public DateTime Created { get; set; }

        public int? PollID { get; set; }

        public string Icon { get; set; }

        public string Message{ get; set; }

        public int? ReplyTo { get; set; }

        public byte Priority { get; set; }
        public DateTime? PriorityDate { get; set; }

        public bool IsApproved { get; set; }

        public int TotalViews { get; set; }
        public int TotalReplies { get; set; }

        public bool IsDeleted { get; set; }

        public bool IsLocked { get; set; }

        public string RemoteUrl { get; set; }


        public int? MovedToForumId { get; set; }


        public DateTime? LastEdited { get; set; }

        public string EditedBy { get; set; }

        public DateTime LastPosted { get; set; }

        public int? LastPostId { get; set; }


        public int? LastUserId { get; set; }

        public string LastUserName { get; set; }
        



        //public string IP { get; set; }
        
    }
}
